package com.topvision.jack.camerasdk2.camera;


import android.hardware.Camera;

/*
相机管理类
*@Params :
*@Author : gushenjie
*@Date :17/12/23
*/
public class PhotoManager implements Camera.PictureCallback{

    private static PhotoManager instance;

    private PhotoManager() {

    }

    public static PhotoManager getInstance() {
        if (instance == null) {
            synchronized (PhotoManager.class) {
                if (instance == null) {
                    instance = new PhotoManager();
                }
            }
        }
        return instance;
    }

    @Override
    public void onPictureTaken(byte[] bytes, Camera camera) {

    }
}
